package csel.view.dialog;

import java.awt.Color;
import java.awt.Container;
import java.awt.event.ActionListener;

import javax.swing.JFrame;
import javax.swing.JLayeredPane;

public class dialogueTester
{
	public static void main(String[] args){
		String options[] = {"Yes", "No", "maybe"};
		String dialog = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam dapibus, lacus quis cursus tristique, dolor nisl eleifend nisl, vel iaculis lorem libero nec erat. Duis consequat tempus sem. Cras vitae lectus. Maecenas sit amet est sit amet justo placerat ornare. Etiam vestibulum. Mauris faucibus convallis ipsum. Suspendisse potenti. Integer euismod vehicula enim. Sed fermentum lectus a velit. Sed laoreet lectus eget nisl. Quisque et nibh. Sed sed sem et ipsum sollicitudin facilisis. Integer at sapien. Praesent vel mi. Duis aliquam dolor nec leo. Pellentesque mattis. Quisque tortor neque, sagittis lobortis, rhoncus eu, venenatis non, risus. Pellentesque porttitor elit id tellus. Aenean a neque at nisi malesuada condimentum. Nullam sed augue ac dolor eleifend tristique. Mauris est dolor, bibendum vel, cursus consequat, ultricies vitae, eros. Aenean in sapien. Duis euismod convallis quam. Praesent consequat ipsum vitae nulla. Suspendisse aliquam tortor sed mi. Nunc pulvinar magna sed dui. Cras id velit. Nunc porttitor volutpat enim. Nullam cursus varius purus. Phasellus dictum enim vitae purus. Ut suscipit leo in tortor."+
		"ALL WORK AND NO PLAY MAKE DAVID A DULL BOY! ALL WORK AND NO PLAY MAKE DAVID A DULL BOY! ALL WORK AND NO PLAY MAKE DAVID A DULL BOY! ALL WORK AND NO PLAY MAKE DAVID A DULL BOY! ALL WORK AND NO PLAY MAKE DAVID A DULL BOY! ALL WORK AND NO PLAY MAKE DAVID A DULL BOY! ALL WORK AND NO PLAY MAKE DAVID A DULL BOY! ALL WORK AND NO PLAY MAKE DAVID A DULL BOY! ALL WORK AND NO PLAY MAKE DAVID A DULL BOY! ALL WORK AND NO PLAY MAKE DAVID A DULL BOY! ALL WORK AND NO PLAY MAKE DAVID A DULL BOY! ALL WORK AND NO PLAY MAKE DAVID A DULL BOY! ALL WORK AND NO PLAY MAKE DAVID A DULL BOY! ALL WORK AND NO PLAY MAKE DAVID A DULL BOY! ALL WORK AND NO PLAY MAKE DAVID A DULL BOY! ALL WORK AND NO PLAY MAKE DAVID A DULL BOY! ALL WORK AND NO PLAY MAKE DAVID A DULL BOY! ALL WORK AND NO PLAY MAKE DAVID A DULL BOY! ALL WORK AND NO PLAY MAKE DAVID A DULL BOY! ALL WORK AND NO PLAY MAKE DAVID A DULL BOY! ALL WORK AND NO PLAY MAKE DAVID A DULL BOY! ALL WORK AND NO PLAY MAKE DAVID A DULL BOY! ";
		NPCDialogueDialog d = new NPCDialogueDialog(dialog, options,null );
		TradeDialog d2 = new TradeDialog(null, null);
		JFrame f = new JFrame();
		f.setBackground(Color.BLACK);
		f.setLayout(null);
		JLayeredPane lp = f.getLayeredPane();
		lp.add(d2, JLayeredPane.PALETTE_LAYER);
		f.setSize(600, 350);
		d2.setBounds(0, 0, 600, 350);
		f.setVisible(true);
	}
}
